package com.eleadin.ruleengine.utils;

import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by GYJ on 2017-04-14.
 */
public class PageResultVO<T> {
    private PageInfo pageInfo;

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfoList(List<T> list) {
        this.pageInfo.setList(list);
    }

    public List<T> getPageInfoList() {
        return pageInfo.getList();
    }
}
